package com.example.backgroundmanager.service;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.backgroundmanager.entity.Comment;
import com.example.backgroundmanager.mapper.CommentMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CommentService extends ServiceImpl<CommentMapper, Comment> {

    @Resource
    private CommentMapper commentMapper;

    public List<Comment> findCommentDetail(Integer articleId) {
        return commentMapper.findCommentDetail(articleId);
    }
}
